--
-- Created by IntelliJ IDEA.
-- User: MikeN
-- Date: 2/24/14
-- Time: 10:03 AM
-- To change this template use File | Settings | File Templates.
--

local counter = 1

function MyFirstAddOnUpdate()
    MyFirstAddonCounter:SetText(string.format("Counter: %d", counter))
    counter = counter + 1
end

function MyFirstAddOnReset()
    counter = 0
end